package com.newasia.user.dal.persistence;

import com.newasia.user.dal.entitys.Address;

import java.util.List;

public interface AddressMapper {
    int deleteByPrimaryKey(Long addressId);

    int insert(Address record);

    int insertSelective(Address record);

    Address selectByPrimaryKey(Long addressId);

    int updateByPrimaryKeySelective(Address record);

    int updateByPrimaryKey(Address record);

    List<Address> selectAddressByUserId(Long userId);
}